# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=py3-imageio-ffmpeg
pkgver=0.4.5
pkgrel=1
pkgdesc="FFMPEG wrapper for Python"
url="https://github.com/imageio/imageio-ffmpeg"
arch="noarch"
license="BSD-2-Clause"
depends="ffmpeg python3"
makedepends="py3-setuptools"
options="!check" # No test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/imageio/imageio-ffmpeg/archive/v$pkgver.tar.gz
	pip-requirement.patch
	"
builddir="$srcdir/imageio-ffmpeg-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}

sha512sums="
c4180903f7194cac880c3851b08e4563c6e12cb6336e321ca35a7baf92ec1de5a49880fd05db9c7c266327642d75830cac4060371cbdc76448fb0a2c21ab0c1c  py3-imageio-ffmpeg-0.4.5.tar.gz
4a4fd212fc6ac1a7720b65a36ad15927e25c73f84c5f1d970801b122e70e3e63475fc093be7a1009d8ca9f9d629200ffd7b6bc6a8f8bb46c1836100896d1872b  pip-requirement.patch
"
